<!DOCTYPE html>
<html>
<head>
    <title>我的小说创作空间</title>
    <style>
        body { max-width: 800px; margin: 20px auto; padding: 20px; font-family: Arial; line-height: 1.6; }
        h1 { color: #333; border-bottom: 2px solid #eee; }
    </style>
</head>
<body>
    <h1>我的小说草稿</h1>
    <div id="content"></div>
    <script>
        // 自动加载novel.txt内容
        fetch('novel.txt')
            .then(response => response.text())
            .then(data => {
                document.getElementById('content').innerHTML = 
                    data.replace(/\n/g, '<br>');
            });
    </script>
</body>
</html>